package com.tmc.bean.intcar;

/**
 * @author zhang
 * @date 2017年12月11日 下午5:25:52 
 */
public class EthQueryPriceResp {
	private boolean success;
	private String message;
	private EthPrice price;
	
	public static EthQueryPriceResp makeFail(String message){
		return new EthQueryPriceResp(false, message, null);
	}
	
	public EthQueryPriceResp(boolean success, String message, EthPrice price){
		this.success = success;
		this.message = message;
		this.price = price;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}

	public EthPrice getPrice() {
		return price;
	}

	public void setPrice(EthPrice price) {
		this.price = price;
	}
}
